home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 410_01 / wlist / tstring.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-30  |  959 b   |  50 lines

  1. #ifndef TSTRING_INCLUDE
  2. #define TSTRING_INCLUDE 1
  3. static char SCCS_TSTRING_INCLUDE[] = "@(#)tstring.h    1.1 2/15/94 10:38:14";
  4. /*+++
  5.  
  6.     tstring.h
  7.  
  8.     PURPOSE : definition of tstring class
  9.  
  10.     DATE    : Sun Jan 30 17:15:53 EST 1994
  11.  
  12.     AUTHOR  : W. Hatch
  13.  
  14.     PROJECT : Jasper Pink
  15.             
  16.     COMPANY : Coleman Research Corporation
  17.           9891 Broken Land Parkway
  18.           Suite 200
  19.           Columbia, Maryland 21045
  20.           Phone (301)621-8600
  21.           FAX (410)7210
  22.  
  23. ---*/ 
  24. /*
  25. ------------------------------------------------------------------------
  26.   MODIFICATIONS
  27. DATE-PROGRAMMER    DESCRIPTION
  28. ------------------------------------------------------------------------
  29. 2-15-94    W. Hatch    added function compare_tstring()
  30. */
  31. #include <stdio.h>
  32. #include <string.h>
  33.  
  34. class tstring{
  35. private:
  36.     char *ts;
  37. public:
  38.     tstring();
  39.     ~tstring();
  40.     
  41.     char *Tstring();
  42.     char *Tstring(char *s);
  43.     void print(FILE *pf);
  44.     void print();
  45. };
  46.  
  47. void print_tstring(FILE *pf, void *t);
  48. int compare_tstring(void *a, void *b);
  49. #endif
  50.